object t03 {
  def main(args: Array[String]): Unit = {
    val names=Array("jack","rose","tom","ben")
    val scores=Array(63,96,85,74,52)

    val na1=names.zip(scores)
    val na2=names.zipAll(scores,"lily",33)

    na1.foreach(i=>{println(s"${i._1}的分数是${i._2}")})
    na2.foreach(i=>{println(s"${i._1}的分数是${i._2}")})
  }
}
